gtk/gtkstyle.c (gtk_style_real_unrealize): Don't forget to
authorMatthias Clasen <matthiasc@src.gnome.org>
Thu, 9 Aug 2001 07:19:45 +0000 (07:19 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Thu, 9 Aug 2001 07:19:45 +0000 (07:19 +0000)
free the text_aa parts. (#57549)

ChangeLog
ChangeLog.pre-2-0
ChangeLog.pre-2-10
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
gtk/gtkstyle.c

index e8753be02aed3666468316a83550ff604e84b19c..2f30f7a5fec685d435e3fbcc3f61cf969c509283 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2001-08-09  Matthias Clasen  <matthiasc@waldgeist.poet.de>
+
+       * gtk/gtkstyle.c (gtk_style_real_unrealize): Don't forget to
+       free the text_aa parts. (#57549)
+
 2001-08-09  Matthias Clasen  <matthiasc@waldgeist.poet.de>
 
        * gdk/gdkgc.c (gdk_gc_set_rgb_bg_color): Set the background color,
index e8753be02aed3666468316a83550ff604e84b19c..2f30f7a5fec685d435e3fbcc3f61cf969c509283 100644 (file)
@@ -1,3 +1,8 @@
+2001-08-09  Matthias Clasen  <matthiasc@waldgeist.poet.de>
+
+       * gtk/gtkstyle.c (gtk_style_real_unrealize): Don't forget to
+       free the text_aa parts. (#57549)
+
 2001-08-09  Matthias Clasen  <matthiasc@waldgeist.poet.de>
 
        * gdk/gdkgc.c (gdk_gc_set_rgb_bg_color): Set the background color,
index e8753be02aed3666468316a83550ff604e84b19c..2f30f7a5fec685d435e3fbcc3f61cf969c509283 100644 (file)
@@ -1,3 +1,8 @@
+2001-08-09  Matthias Clasen  <matthiasc@waldgeist.poet.de>
+
+       * gtk/gtkstyle.c (gtk_style_real_unrealize): Don't forget to
+       free the text_aa parts. (#57549)
+
 2001-08-09  Matthias Clasen  <matthiasc@waldgeist.poet.de>
 
        * gdk/gdkgc.c (gdk_gc_set_rgb_bg_color): Set the background color,
index e8753be02aed3666468316a83550ff604e84b19c..2f30f7a5fec685d435e3fbcc3f61cf969c509283 100644 (file)
@@ -1,3 +1,8 @@
+2001-08-09  Matthias Clasen  <matthiasc@waldgeist.poet.de>
+
+       * gtk/gtkstyle.c (gtk_style_real_unrealize): Don't forget to
+       free the text_aa parts. (#57549)
+
 2001-08-09  Matthias Clasen  <matthiasc@waldgeist.poet.de>
 
        * gdk/gdkgc.c (gdk_gc_set_rgb_bg_color): Set the background color,
index e8753be02aed3666468316a83550ff604e84b19c..2f30f7a5fec685d435e3fbcc3f61cf969c509283 100644 (file)
@@ -1,3 +1,8 @@
+2001-08-09  Matthias Clasen  <matthiasc@waldgeist.poet.de>
+
+       * gtk/gtkstyle.c (gtk_style_real_unrealize): Don't forget to
+       free the text_aa parts. (#57549)
+
 2001-08-09  Matthias Clasen  <matthiasc@waldgeist.poet.de>
 
        * gdk/gdkgc.c (gdk_gc_set_rgb_bg_color): Set the background color,
index e8753be02aed3666468316a83550ff604e84b19c..2f30f7a5fec685d435e3fbcc3f61cf969c509283 100644 (file)
@@ -1,3 +1,8 @@
+2001-08-09  Matthias Clasen  <matthiasc@waldgeist.poet.de>
+
+       * gtk/gtkstyle.c (gtk_style_real_unrealize): Don't forget to
+       free the text_aa parts. (#57549)
+
 2001-08-09  Matthias Clasen  <matthiasc@waldgeist.poet.de>
 
        * gdk/gdkgc.c (gdk_gc_set_rgb_bg_color): Set the background color,
index e8753be02aed3666468316a83550ff604e84b19c..2f30f7a5fec685d435e3fbcc3f61cf969c509283 100644 (file)
@@ -1,3 +1,8 @@
+2001-08-09  Matthias Clasen  <matthiasc@waldgeist.poet.de>
+
+       * gtk/gtkstyle.c (gtk_style_real_unrealize): Don't forget to
+       free the text_aa parts. (#57549)
+
 2001-08-09  Matthias Clasen  <matthiasc@waldgeist.poet.de>
 
        * gdk/gdkgc.c (gdk_gc_set_rgb_bg_color): Set the background color,
index c5d35a1787b9658e2d72640cc8a1cbde68e30c95..5e4ed033e031eb80f3516f22a5bc26fdc56863d3 100644 (file)
@@ -1507,6 +1507,7 @@ gtk_style_real_unrealize (GtkStyle *style)
       gtk_gc_release (style->mid_gc[i]);
       gtk_gc_release (style->text_gc[i]);
       gtk_gc_release (style->base_gc[i]);
+      gtk_gc_release (style->text_aa_gc[i]);
 
       if (style->bg_pixmap[i] &&  style->bg_pixmap[i] != (GdkPixmap*) GDK_PARENT_RELATIVE)
        gdk_pixmap_unref (style->bg_pixmap[i]);
@@ -1519,6 +1520,7 @@ gtk_style_real_unrealize (GtkStyle *style)
   gdk_colormap_free_colors (style->colormap, style->mid, 5);
   gdk_colormap_free_colors (style->colormap, style->text, 5);
   gdk_colormap_free_colors (style->colormap, style->base, 5);
+  gdk_colormap_free_colors (style->colormap, style->text_aa, 5);
 }
 
 static void